<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<style>
.pageFormContent label{width: 80px;}
.pageFormContent p{width:  95%;}
span.error{left: 240px; width:100px;}
</style>
<div class="pageContent">
	<form method="post" action="saveBrand?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="58">
			<p>
				<label>品 名:</label>
				<select name="productId" class="required combox">
					<option value="">-选择品名-</option>
					<c:forEach varStatus="status" var="pro" items="${productList}">
						<option value="${pro.id }">${pro.productName }</option>
					</c:forEach>
				</select>
			</p>
			<p>
				<label>品 牌：</label>
				<input name="brandName" type="text" maxlength="32" size="27" value=""  class="required"/>
				<span style="color:#575757; line-height: 22px;padding-left:5px;"> 如: 苹果,三星,华为等</span>
			</p>
			<p>
				<label>备 注: </label>
				<textarea rows="3" cols="24" maxlength="128" name="brandDesc"></textarea>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
